package demo01;
import java.util.concurrent.*;

public class YootkDemo4 {
    public static void main(String[] args) throws Exception {
        ExecutorService service = Executors.newCachedThreadPool();
        for (int x = 0; x < 5; x++){
            service.submit(() -> {
                System.out.println("["+Thread.currentThread().getName()+"]沐言科技：www.yootk.com");
            });
        }
    }
}
